<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<script>
    var $basePath = '${pageContext.request.contextPath}';
</script>